#!/usr/bin/env python3
# -*- coding: utf-8 -*-


from django import forms


# 员工登录表格
class LoginForm(forms.Form):
    username = forms.CharField(label='用户名', max_length=20)
    password = forms.CharField(label='密码', max_length=50,
                               widget=forms.PasswordInput())


# 员工修改密码表格
class ChangePasswdForm(forms.Form):
    old_password = forms.CharField(label='旧密码', max_length=50,
                                   widget=forms.PasswordInput())
    new1_password = forms.CharField(label='新密码', max_length=50,
                                    widget=forms.PasswordInput())
    new2_password = forms.CharField(label='新密码', max_length=50,
                                    widget=forms.PasswordInput())
